package com.cci.kangdao.fieldService.dao;

import com.cci.kangdao.fieldService.model.FieldServiceUpgrade;

import java.util.List;

public interface FieldServiceUpgradeDao {
    int deleteByPrimaryKey(Long id);

    int insert(FieldServiceUpgrade record);

    int insertSelective(FieldServiceUpgrade record);

    FieldServiceUpgrade selectByPrimaryKey(Long id);

    FieldServiceUpgrade selectLastByOrderId(Long orderId);

    List<FieldServiceUpgrade> selectListByOrderId(Long orderId);

    int updateByPrimaryKeySelective(FieldServiceUpgrade record);

    int updateByPrimaryKey(FieldServiceUpgrade record);
}